import Router from 'koa-router'

import DlyHomeController from '../controller/dlyadmin/homeController'

const router = new Router()

router.prefix('/dlyadminapi/home')

router
	/**
	 * @swagger
	 * /dlyadminapi/home/shareLinkData:
	 *   get:
	 *     description: 首页顶部销售数据
	 *     tags: [后台用户]
	 *     summary: "首页顶部销售数据"
	 *     parameters:
	 *     produces:
	 *       - application/json
	 *     responses:
	 *       200:
	 *         description: 获取数据列表
	 * */
	.get('/shareLinkData', DlyHomeController.shareLinkData)

export default router
